/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.com.cotelasa.scp.dao;

import java.util.Collection;
import java.util.Date;
import pe.com.cotelasa.common.dao.IDao;
import pe.com.cotelasa.common.dao.excepcion.DAOException;
import pe.com.cotelasa.scp.entidad.Kardex;

/**
 *
 * @author WINDOWS 7
 */
public interface IDAOKardex extends IDao<Kardex, Integer> {
    
    public int buscarCantidadKardex(Kardex kardex) throws DAOException;
    
    public int buscarCantidadKardexActivos(Kardex kardex) throws DAOException;
    
    public Kardex buscarUltimoKardex(Kardex kardex) throws DAOException;
    
    public Collection<Kardex> listaKardexPorFiltro(Kardex kardex, Date fecInicio, Date fecFinal) throws DAOException;

    public Kardex buscarKardexSalidaMasAntiguo(Kardex kardex) throws DAOException;
    
    public Collection<Kardex> buscarKardexSalidaPorOpyCat(Kardex kardex) throws DAOException;
}
